<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
  "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" xmlns:f="http://java.sun.com/jsf/core" xmlns:h="http://java.sun.com/jsf/html"
	xmlns:p="http://primefaces.org/ui">
	<h:head>
		<title>Vendas Web</title>
		<link type="text/css" rel="stylesheet" 	href="/VendaWeb/css/estilo.css" />
	</h:head>
	<h:body>
		<h:form>
			<p:panel header="Acesso ao Sistema" styleClass="panelLogin">
				<h:panelGrid columns="2" width="90%" style="text-align: center;">
					<h:outputLabel value="Login: " />
					<h:inputText value="#{usuarioMB.login}" id="login" required="true"/>
					<h:outputLabel value="Senha: " />
					<h:inputSecret value="#{usuarioMB.senha}" id="senha" required="true" autocomplete="off" />
					<br />
				</h:panelGrid>
		<h:messages/>
				<p:commandButton action="#{usuarioMB.validarUsuario}" value="OK" ajax="false" />
			</p:panel>
		</h:form>
	</h:body>
</html>